import Vue from 'vue'

Vue.component('index', require('../components/layout/Index.vue').default);
Vue.component('layout-nav', require('../components/layout/Nav.vue').default);
Vue.component('layout-top-nav', require('../components/layout/TopNav.vue').default);
Vue.component('layout-tab', require('../components/layout/Tab.vue').default);

/** module中间 就不写中间名 **/
Vue.component('lar-search-box', require('../components/module/SearchBox.vue').default);
Vue.component('lar-IM', require('../components/module/IM.vue').default);
Vue.component('lar-form', require('../components/module/Form.vue').default);
Vue.component('lar-table', require('../components/module/Table.vue').default);
Vue.component('lar-show', require('../components/module/Show.vue').default);
Vue.component('lar-table-ceil', require('../components/table/Ceil.vue').default);
Vue.component('lar-field-div', require('../components/field/Div.vue').default);
Vue.component('lar-form-ceil', require('../components/form/Ceil.vue').default);

Vue.component('lar-field-number', require('../components/field/Number.vue').default);
Vue.component('lar-field-textarea', require('../components/field/Textarea.vue').default);
Vue.component('lar-field-imgurl', require('../components/field/Imgurl.vue').default);
Vue.component('lar-field-checkbox', require('../components/field/CheckBox.vue').default);
Vue.component('lar-field-muilticheckbox', require('../components/field/MuiltiCheckBox.vue').default);
Vue.component('lar-field-image', require('../components/field/Image.vue').default);
Vue.component('lar-field-select', require('../components/field/Select.vue').default);
Vue.component('lar-field-address', require('../components/field/MapAddress.vue').default);
Vue.component('lar-field-region', require('../components/field/MapMultiaArea.vue').default);
Vue.component('lar-field-fleetregion', require('../components/field/MapMultiaFleetArea.vue').default);

Vue.component('lar-field-input', require('../components/field/Input.vue').default);
Vue.component('lar-field-km2', require('../components/field/AreaSetUp/CustomAreaAcreage.vue').default);
Vue.component('lar-field-button', require('../components/field/Button.vue').default);
Vue.component('lar-field-user', require('../components/field/User.vue').default);
Vue.component('lar-field-image', require('../components/field/Image.vue').default);
Vue.component('lar-field-timestamp', require('../components/field/Timestamp.vue').default);
Vue.component('lar-field-datetime', require('../components/field/Datetime.vue').default);
//发票管理
Vue.component('lar-field-custommerchantname', require('../components/field/Invoice/MerchantName.vue').default);
Vue.component('lar-field-customapplicationamount', require('../components/field/Invoice/ApplicationAmount.vue').default);
//发票管理
//地址预警
Vue.component('lar-field-customaddresswarning', require('../components/field/AddressWarning/CustomAddressWarning.vue').default);
Vue.component('lar-field-customearlywarningitems', require('../components/field/AddressWarning/CustomEarlywarningItems.vue').default);
Vue.component('lar-field-customwarningdate', require('../components/field/AddressWarning/CustomDate.vue').default);
Vue.component('lar-field-custompredictionbias', require('../components/field/AddressWarning/CustomPredictionBias.vue').default);
Vue.component('lar-field-customorregion', require('../components/field/AddressWarning/CustomOrRegion.vue').default);
Vue.component('lar-field-customcorrectstatus', require('../components/field/AddressWarning/CustomCorrectStatus.vue').default);
//地址预警
//调度预警
Vue.component('lar-field-customdispatchcode', require('../components/field/DispatchWarning/CustomCode.vue').default);
Vue.component('lar-field-customorderstatus', require('../components/field/DispatchWarning/CustomDriverStatus.vue').default);
Vue.component('lar-field-customorderremark', require('../components/field/DispatchWarning/CustomOrderRemark.vue').default);
Vue.component('lar-field-customwarningtype', require('../components/field/DispatchWarning/CustomWarningType.vue').default);
//调度预警
Vue.component('lar-field-customdate', require('../components/field/Order/CustomDate.vue').default);
Vue.component('lar-field-customcode', require('../components/field/Order/CustomCode.vue').default);
Vue.component('lar-field-custommark', require('../components/field/Order/CustomMark.vue').default);
Vue.component('lar-field-orderdetail', require('../components/field/Order/CustomOrderDetail.vue').default);
Vue.component('lar-field-customdrivername', require('../components/field/Driver/CustomDriverName.vue').default);
Vue.component('lar-field-customdrivertask', require('../components/field/Driver/CustomDriverTask.vue').default);
Vue.component('lar-field-file', require('../components/field/File.vue').default);
Vue.component('lar-field-date', require('../components/field/Date.vue').default);
Vue.component('lar-field-time', require('../components/field/Time.vue').default);
Vue.component('lar-field-equal', require('../components/field/Equal.vue').default);

Vue.component('lar-field-taskcount', require('../components/field/Count/TaskCount.vue').default);
Vue.component('lar-map-driveroute', require('../components/map/DriverMap/DriveRoute.vue').default);
Vue.component('lar-map-driverposition', require('../components/map/DriverMap/DriverPosition.vue').default);


Vue.component('lar-field-maparea', require('../components/field/MapArea.vue').default);

Vue.component('lar-chart-line', function (resolve) {
    require(['../components/chart/Line.vue'], resolve)
});
Vue.component('lar-chart-bar', function (resolve) {
    require(['../components/chart/Bar.vue'], resolve)
});
Vue.component('lar-chart-funnel', function (resolve) {
    require(['../components/chart/Funnel.vue'], resolve)
});
Vue.component('lar-chart-pie', function (resolve) {
    require(['../components/chart/Pie.vue'], resolve)
});
Vue.component('lar-chart-transverse-bar', function (resolve) {
    require(['../components/chart/transverseBar.vue'], resolve)
});


Vue.component('lar-field-editor', function (resolve) {
    require(['../components/field/Editor.vue'], resolve)
})
Vue.component('lar-ui-plane', function (resolve) {
    require(['../components/ui/Plane.vue'], resolve)
})
Vue.component('lar-ui-iphone', function (resolve) {
    require(['../components/ui/Iphone.vue'], resolve)
})
Vue.component('lar-ui-tab', function (resolve) {
    require(['../components/ui/Tab.vue'], resolve)
})
Vue.component('lar-ui-tutorial', function (resolve) {
    require(['../components/ui/Tutorial.vue'], resolve)
})
// Vue.component('lar-field-ipad', function (resolve) {
//     require(['../components/field/Ipad.vue'], resolve)
// })


//demo组建
Vue.component('lar-demo-form', require('../components/demo/Form.vue').default);
Vue.component('lar-demo-field', require('../components/demo/Field.vue').default);
//demo组建
